SpriteSurface.NewSprite Function

Returns a new Sprite object and places its Image within the SpriteSurface at the coordinates passed.

Syntax

result = SpriteSurface.NewSprite( Image, X, Y )

Parameters

Image

Picture

X

Integer

Y

Integer)

Return Value

Result

Sprite